import Vue from 'vue'
import Router from 'vue-router'
// import Hello from '@/components/Hello'
import hmAI from '@/view/hm-ai'
import hmFrontend from '../view/hm-frontend.vue'
import hmBackend from '@/view/hm-backend'
import hmSoft from '@/view/hm-soft'
import hmPhoto from '@/view/hm-photo'
import hmLiterature from '@/view/hm-literature'
import hmWuziqi from '@/view/hm-wuziqi'
// import hmWuziqi2 from '@/view/hm-wuziqi2'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'wuziqi2',
      component: hmWuziqi
    }, {
      path: '/ai',
      name: 'hm-ai',
      component: hmAI
    }, {
      path: '/frontend',
      name: 'hm-frontend',
      component: hmFrontend
    }, {
      path: '/backend',
      name: 'hm-backend',
      component: hmBackend
    }, {
      path: '/soft',
      name: 'hm-soft',
      component: hmSoft
    }, {
      path: '/photo',
      name: 'hm-photo',
      component: hmPhoto
    }, {
      path: '/literature',
      name: 'hm-literature',
      component: hmLiterature
    }
  ]
})
